using System;
using System.Globalization;

namespace Sedna.Core.Globalization
{
	/// <summary>
	/// the service that provides internationalization facility for images
	/// its job is to get a relative image path and return a complete web-app root related path
	/// of a target image. E.g. if one wants to get an URL of 'edit.gif' image for an image button
	/// the service takes a culture info in to account and returns a path to a localized variant of
	/// an image, say /images/ru-RU/edit.gif or, if that cannot be found - a neutral one: /images/neutral/edit.gif
	/// </summary>
	public interface IImageManager
	{
		string RelateImageUrl(string relativePath);
		string RelateImageUrl(string relativePath, CultureInfo cultureInfo);
	}
}
